package com.gupaoedu.design.adapter;

/**
 * <p>这是之前的老系统，并且稳定运行了十来年了。</p>
 *
 * @author Andy
 * @date 2018/3/15.
 */
public class SigninServiceImpl implements SigninService {

    public ResultMsg login(String username, String password) {
        return new ResultMsg("200", "登录成功", new UserInfo(username, password));
    }

    public ResultMsg register(String username, String password) {
        return new ResultMsg("200", "登录成功", new UserInfo(username, password));
    }
}
